package com.csg.ses.service.ses;

import com.baomidou.mybatisplus.extension.service.IService;
import com.csg.ses.vo.common.Result;
import com.csg.ses.vo.common.IdListVo;
import com.csg.ses.entity.ses.FileInfoEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * 
 * @author zhanggongrong
 * @date 2021-05-06 17:29:22
 */
public interface FileInfoService extends IService<FileInfoEntity> {
    Result retrieve(FileInfoEntity fileInfo, Long current, Long size);
    Result del(IdListVo idList);
    Result getById(String id);
    Result queryAllGroup();
    boolean save(FileInfoEntity fileInfo);
    boolean uploadFiles(MultipartFile file, String pathNodeName) throws Exception;
    void  downloadFile(String fileName) throws Exception;
}